<extend name="Layout/main" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">基础设置</block>
<block name="controller">版本管理</block>
<block name="action">版本管理</block>
<block name="desc"></block>
<block name="content">
<div class="box box-primary">
	<div class="box-header with-border">
		<h3 class="box-title">版本列表</h3>
		<div class="box-tools">
			<button type="button" class="btn btn-default margin-r-5" rel-url="{:U('form')}" rel-action="dialog">
				<i class="fa fa-file-text"></i>
				新增
			</button>
		</div>
	</div>
	<div class="box-body table-responsive">
		<table class="table table-bordered table-striped table-hover">
			<tbody>
				<notempty name="data">
				<tr>
					<th class="text-center">编号</th>
					<th class="text-center">名称</th>
					<th class="text-center">业务类型</th>
					<th class="text-center">版本号</th>
					<th class="text-center">提示信息</th>
					<th class="text-center">描述</th>
					<th class="text-center">内部版本</th>
					<th class="text-center">下载地址</th>
					<th class="text-center">设备名称</th>
					<th class="text-center">是否提示</th>
					<th class="text-center">状态</th>
					<th class="text-center">操作</th>
				</tr>
				<volist name='data' id='items'>
				<tr>
					<td class="text-center">{$items.version_id}</td>
					<td>{$items.version_name}</td>
					<td>{$items.version_type}</td>
					<td class="text-center">{$items.version_release}</td>
					<td>{$items.message}</td>
					<td>{$items.description}</td>				
					<td class="text-center">{$items.version_code}</td>
					<td>{$items.version_download}</td>
					<td class="text-center">{$items.version_platform}</td>
					<td class="text-center">{$items.notice}</td>
					<td class="text-center">{$items.status}</td>
					<td class="text-center">
						<a href="{$items.edit}" rel-action="dialog">编辑</a>
						<a href="{$items.delete}" rel-action="delete">删除</a>
					</td>
				</tr>
				</volist>
				<else />
					<tr><td>暂无符合条件记录</td></tr>
				</notempty>
			</tbody>
		</table>
	</div>
	<notempty name="data">
	<div class="box-footer clearfix">
		{$page}
	</div>
	</notempty>
</div>
</block>